﻿using System;
using System.Collections.Generic;
using HSS_DTO;

namespace HSS_Web_App
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var pi = new ProductInfo();
            IList<Product> allProducts = pi.GetAllProducts();

            rptProductList.DataSource = allProducts;
            rptProductList.DataBind();
        }
    }
}